﻿using MiniBottles.App_GlobalResources;
using Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MiniBottles.Models
{
    public class GuestBook : Base
    {
        [Display(Name = "Nick")]
        public string Nick { get; set; }

        [Display(Name = "E-mail")]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }

        [Display(Name = "WWW")]
        [DataType(DataType.Url)]
        public string WWW { get; set; }

        [Display(ResourceType = typeof(ModelResource), Name = "Content")]
        [Required]
        public string Content { get; set; }
    }
}